<!doctype html>
<html>
<head>
    <meta charset="UTF-8">
    <link rel="stylesheet" href="{{ asset('assets/login/css/admin_login.css') }}">
    <link rel="stylesheet" href="{{ asset('assets/layui/css/layui.css') }}">
    <script type="text/javascript" src="{{ asset('assets/layui/layui.js') }}"></script>
    <title>管理员登录</title>
</head>
<body>
@if(config('app.debug'))
    @include('sudosu::user-selector')
@endif
<div class="bg"></div>
<div class="login_box">
    <h2>
        <img src="{{ asset('assets/login/images/slogan.png') }}" class="slogan">
    </h2>
    <div class="form_box">

        <div class="form">
            <h1 class="form_title">{{ config('admin.app_name') }}</h1>

            @forelse($errors->all() as $e)
                <div class="msg_wrap">
                    <p style="color:red;" class="msg_error">{{ $e }}</p>
                </div>
            @empty
                <div class="msg_wrap"></div>
            @endforelse

            <form class="layui-form" method="post">
                {{ csrf_field() }}
                <ul>

                    <li>
                        <span class="txt_tle name">账号</span>
                        <input type="text" name="username" class="text" autofocus value="{{ old('username') }}" placeholder="请输入用户名">
                    </li>

                    <li>
                        <span class="txt_tle name">密码</span>
                        <input type="password" autocomplete="off" name="password" class="text">
                    </li>

                    {{--@if(app()->environment() === 'production')
                        <li>
                            <span class="txt_tle v_code">验证码</span>
                            <input type="text" autocomplete="off" class="code" name="captcha">
                            <img src="{{ captcha_src() }}" alt="点击验证码刷新" id="code" onclick="this.src = this.src + Math.random()">
                        </li>
                    @endif--}}

                    <li>
                        <input type="submit" value="登　陆">
                    </li>

                    {{--<li>
                        <span class="txt_tle password">记住登录</span>
                        <input type="checkbox" @if(old('remember')) checked @endif name="remember">
                    </li>--}}

                </ul>
            </form>
            <p class="footer"><a href="/">返回首页</a> CopyRight &copy; 2015-2017
                Powered
                by<span>　由<a href="http://www.cditd.com" target="_blank">酷龙科技</a>提供技术支持　</span>
            </p>
        </div>
    </div>
</div>

<script>
    layui.use(['form', 'layer'], function () {
    });
</script>

</body>
</html>